You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs(commands): generate blocks for app lifecycle, push, settings, and app state - #4840
Adds the generated command block to every hand-written section from ## App install (in-place) through ## Foreground repairs on iOS, so the registry owns each command's summary, synopsis, options, aliases, and capabilities link there. Blocks are marker-only in the source: pnpm generate:command-docs renders them, and the drift guard keeps them in sync.
Commands given a block: install, reinstall, uninstall, install-from-source, push, trigger-app-event, settings, appstate, apps.
## Foreground repairs on iOS documents no command of its own; it is a workflow that reads snapshot, already blocked elsewhere, so it gets none.
No hand-written line was removed. Each bullet in these sections carries a default, limit, reason code, platform caveat, or environment variable the generated table does not state, so all of them were kept. Headings and anchors are unchanged.
Validation
Head 4660b12d44531a8f0b6128ad5ac1e5352316575f, docs-only: runtime tests do not apply, the repo guards do.
pnpm install --frozen-lockfile && pnpm build
pnpm generate:command-docs, then pnpm check:command-docs (27 passed)
This PR is ready at 4660b12, with no conflicts and all 8 of 8 checks passing, including the command-docs guards that exercise this page. Not verified here: a local run of pnpm generate:command-docs or check:command-docs, or a trace of each generated summary to its handler; CI and the registry cover both. Not blocking: the install, reinstall and uninstall blocks repeat the same five proxy-lease option rows (https://github.com/callstack/agent-device/blob/4660b12/website/docs/docs/commands.md#L790), so a follow-up issue could move them into the shared common-options table, and this can be taken or left.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ready-for-humanValid work that needs human implementation, judgment, or maintainer merge
1 participant
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the generated command block to every hand-written section from
## App install (in-place)through## Foreground repairs on iOS, so the registry owns each command's summary, synopsis, options, aliases, and capabilities link there. Blocks are marker-only in the source:pnpm generate:command-docsrenders them, and the drift guard keeps them in sync.Commands given a block:
install,reinstall,uninstall,install-from-source,push,trigger-app-event,settings,appstate,apps.## Foreground repairs on iOSdocuments no command of its own; it is a workflow that readssnapshot, already blocked elsewhere, so it gets none.No hand-written line was removed. Each bullet in these sections carries a default, limit, reason code, platform caveat, or environment variable the generated table does not state, so all of them were kept. Headings and anchors are unchanged.
Validation
Head
4660b12d44531a8f0b6128ad5ac1e5352316575f, docs-only: runtime tests do not apply, the repo guards do.pnpm install --frozen-lockfile && pnpm buildpnpm generate:command-docs, thenpnpm check:command-docs(27 passed)pnpm check:doc-prose,pnpm --dir website build,pnpm check:doc-linkspnpm check:quick,pnpm formattest/repo-guards/command-doc-coverage.test.tsandtest/repo-guards/runner-refusal-reason-docs.test.tspass with no waiver addedCI validates the rest.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.